<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
     <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>申请项目</title>
<base href="<%=basePath %>" />
    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.4.1/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="css/icon.css">
    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.4.1/themes/color.css">
	<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
	<script type="text/javascript" src="layer/layer.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.4.1/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="jquery-easyui-1.4.1/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript"src="js/admin/projectapply.js"></script>
</head>
<body>
	<!-- 搜索栏 -->
	<div style="height: 70px; width: 100%;">
		<div style="float: left; padding: 20px 0 0 20px;">
			<label>是否通过:</label>
			<select class="easyui-combobox" data-options="editable:false,panelHeight:'auto'"
			 id="spaStatus" style="width: 100px;">
				<option value="" selected="selected">请选择</option>
				<option value="1">待审核</option>
				<option value="2">审核通过</option>
				<option value="3">审核未通过</option>
			</select>
			<!-- 0未审批，1审批通过，2审批失败 -->
		</div>
		<div style="float: left; padding: 20px 0 0 20px;">
			<label>申请人:</label>
			<input type="text" class="easyui-textbox" name="suserName" id="suserName">
		</div>
		<div style="float: left; padding: 20px 0 0 20px;">
			<label>联系方式:</label>
			<input type="text" class="easyui-textbox" name="suserTelephone" id="suserTelephone">
		</div>
		<div style="float: left; padding: 20px 0 0 20px;">
			<button id="searchAdprojectapply" class="easyui-linkbutton c1"
				data-options="iconCls:'icon-search'" type="button">查询</button>
		</div>
		<div style="float: left; padding: 20px 0 0 20px;">
			<button id="resetAdprojectapply" class="easyui-linkbutton c5"
				data-options="iconCls:'icon-no'" type="button">重置</button>
		</div>
	</div>
	<div id="toolbar">
		<c:forEach items="${list}" var="item">
			${item}
		</c:forEach>
	</div>
	<!-- 显示数据 -->
	<div id="projectApply_table"></div>
	<!-- 隐藏一个窗口用于修改申请 -->
	<div id="projectApplydlg" class="easyui-dialog"
		data-options="iconCls:'icon-save',resizable:true,modal:true"
		style="width: 600px; height: 400px; padding: 10px 20px" closed="true"
		align="center" buttons="#projectApplydlg-buttons">
		<form id="projectApplyfm">
			<table>
			<tr>
				<td><label>项目标题:</label> </td>
				<td colspan="3"><input class="easyui-textbox" id="paTitle" name="paTitle" style="width:410px;"> </td>
			</tr>
			<tr>
				<td><label>申请人:</label> </td>
				<td><input class="easyui-textbox" id="userName" name="userName" > </td>
				<td><label>联系方式:</label> </td>
				<td><input class="easyui-textbox" id="userTelephone" name="userTelephone"></td>
			</tr>
			<tr>
				<td><label>项目描述:</label> </td>
				<td colspan="3"><input class="easyui-textbox" data-options="multiline:true"
				 style="width:410px;height:100px" id="paDescription" name="paDescription"> </td>
				
			</tr>
			<tr>
				<td><label>审核状态:</label> </td>
					<td><select class="easyui-combobox" data-options="editable:false,panelHeight:'auto'"
						 id="paStatus" name="paStatus" style="width: 100px;">
							<option value="2">审核通过</option>
							<option value="3">审核未通过</option>
						</select></td>
				<td><label>申请时间:</label> </td>
				<td><input class="easyui-datetimebox" id="paTime" name="paTime"> </td>	
			</tr>
			<tr>
				<td><label></label> </td>
				<td></td>
			</tr>
				<tr>
					
				</tr>
				
			</table>
		</form>
		<div id="projectApplydlg-buttons">
		<label id="saveUrl" closed="true"></label> <a
			href="javascript:void(0)" id="save" class="easyui-linkbutton c6"
			iconCls="icon-ok" onclick="projectApplySave();" style="width: 90px">保存</a>
		<a href="javascript:void(0)" class="easyui-linkbutton"
			iconCls="icon-cancel" onclick="projectApplyCancel();" style="width: 90px">取消</a>
	</div>
	</div>
</body>
</html>